package vip.george.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


@MapperScan(basePackages = {"vip.george.common.mapper"} )
// 针对不同的服务使用指定的负载均衡器
//@LoadBalancerClients(
//        @LoadBalancerClient(value = "stock-service", configuration = CustomLoadBalancerConfiguration.class)
//)
@EnableFeignClients
@SpringBootApplication
public class ScOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(ScOrderApplication.class, args);
    }
}
